#include <iostream>
using namespace std;
void removehat(char cat)
{
    for (char c = cat; c < 'Z'; ++c)
        cout << " ";
    if (cat <= 'Z')
    {
        cout << "cat " << cat << endl;
        removehat(cat + 1);
    }
    else
    {
        cout << "VOOM!!!" << endl;
    }
}
int main()
{
    removehat('A');
}